package com.jueming.miser.ware.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jueming.miser.common.utils.PageUtils;
import com.jueming.miser.common.utils.Query;

import com.jueming.miser.ware.dao.MiserWareDao;
import com.jueming.miser.ware.entity.MiserWareEntity;
import com.jueming.miser.ware.service.MiserWareService;


@Service("miserWareService")
public class MiserWareServiceImpl extends ServiceImpl<MiserWareDao, MiserWareEntity> implements MiserWareService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MiserWareEntity> page = this.page(
                new Query<MiserWareEntity>().getPage(params),
                new QueryWrapper<MiserWareEntity>()
        );

        return new PageUtils(page);
    }

}